<%@ page import="ar.com.binarit.entities.Pais" %>



<div class="fieldcontain ${hasErrors(bean: paisInstance, field: 'descripcion', 'error')} ">
	<label for="descripcion">
		<g:message code="pais.descripcion.label" default="Descripcion" />
		
	</label>
	<g:textField name="descripcion" maxlength="250" value="${paisInstance?.descripcion}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: paisInstance, field: 'divisiones', 'error')} ">
	<label for="divisiones">
		<g:message code="pais.divisiones.label" default="Divisiones" />
		
	</label>
	
<ul class="one-to-many">
<g:each in="${paisInstance?.divisiones?}" var="d">
    <li><g:link controller="division" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li>
</g:each>
<li class="add">
<g:link controller="division" action="create" params="['pais.id': paisInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'division.label', default: 'Division')])}</g:link>
</li>
</ul>

</div>

